package com.yaj.myfactorysupport.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yaj.myfactorysupport.dto.TSmtProcessDto;
import com.yaj.myfactorysupport.entity.TSmtProcess;
import com.yaj.myfactorysupport.util.RespBean;
import org.springframework.transaction.annotation.Transactional;

import java.math.BigDecimal;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wei
 * @since 2021-06-01
 */
public interface TSmtProcessService extends IService<TSmtProcess> {
    public RespBean SelSMTProcess(String OrderNo, BigDecimal BrNo, String MounterID, String SMTSide);

    @Transactional
    public RespBean RegSMTProcess(TSmtProcess tSmtProcess);

    @Transactional
    public RespBean DelSMTProcess(String OrderNo, BigDecimal BrNo, String MounterID, String SMTSide);

    @Transactional
    public RespBean ResetSMTProcess(TSmtProcessDto tSmtProcessDto);
}
